package com.qf.collection.generic;

public class Printer<T> {

    private T t;

    public Printer() {
    }

    public T getT() {
        return t;
    }

    public void setT(T t) {
        this.t = t;
    }

    public void print(){
        System.out.println(t);
    }

}
